a0a68370210c3b1d6ae30da7d8b3cbe6667efadb,Base/ParticleEntity.java,ParticleEntity,setDirection,#CubeDirections#,72

Before Change



	protected void setDirection(CubeDirections dir) {
		//ReikaJavaLibrary.pConsole(worldObj.isRemote+": "+this.getBlockX()+":"+this.getBlockY()+":"+this.getBlockZ());
		this.setLocationAndAngles(this.getBlockX()+0.5, this.getBlockY()+0.5, this.getBlockZ()+0.5, 0, 0);
		motionX = dir.directionX*this.getSpeed();
		motionY = 0;
		motionZ = dir.directionZ*this.getSpeed();

After Change



	protected void setDirection(CubeDirections dir, boolean setPos) {
		//ReikaJavaLibrary.pConsole(worldObj.isRemote+": "+this.getBlockX()+":"+this.getBlockY()+":"+this.getBlockZ());
		if (setPos)
			this.setLocationAndAngles(this.getBlockX()+0.5, this.getBlockY()+0.5, this.getBlockZ()+0.5, 0, 0);
		motionX = dir.directionX*this.getSpeed();
		motionY = 0;
		motionZ = dir.directionZ*this.getSpeed();